package com.ddm.ddm.mapper;

import com.ddm.ddm.entity.Require;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ddm.ddm.query.RequirePage;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 */
@Mapper
public interface RequireMapper extends BaseMapper<Require> {

  List<Require> listAll(@Param("requirePage") RequirePage requirePage);

  int save(Require require);

  int update(Require require);

  Require selectById(@Param("rid")String rid);
}
